package com.xjh.utils.util;

/**
 * @Author XuJianHua
 * @Date 2022/12/12 22:21
 * @Description
 */
public class TipException extends RuntimeException {
    private static final long serialVersionUID = 1L;
    private String code;
    public TipException() {
        super("系统异常！");
//        this.code = BusinessCode.TIP.getMessage();
    }

    public TipException(String message) {
        super(message);
//        this.code = BusinessCode.TIP.getCode();
    }

    public TipException(String code, String message) {
        super(message);
        this.code = code;
    }
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
